﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SuperScrollView;
using UnityEngine.UI;

public class SuperListItemView:LoopListViewItem2
{

    public Text nameText;

    private SuperListItemData superListItemData;

    public void SetData(SuperListItemData superListItemData)
    {
        this.superListItemData = superListItemData;
    }

    public void Initialize()
    {
        
    }

    public void UpdateView()
    {
        SetName(superListItemData.taskName);
    }

    public void SetName(string name)
    {
        if (nameText != null)
        {
            nameText.text = name;
        }
    }

}


